﻿<phone:PhoneApplicationPage
    x:Class="OnlineVideos.Views.UserSharePAge"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"
    xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:toolkit="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone.Controls.Toolkit"
    FontFamily="{StaticResource PhoneFontFamilyNormal}"
    FontSize="{StaticResource PhoneFontSizeNormal}"
    Foreground="{StaticResource PhoneForegroundBrush}"
    SupportedOrientations="Portrait" Orientation="Portrait"
    mc:Ignorable="d"
    shell:SystemTray.IsVisible="false">
    <phone:PhoneApplicationPage.Resources>
        <DataTemplate  x:Key="tblkcat">
            <!--<Grid Height="70">
                <StackPanel  Margin="15,0,0,0" Height="50">-->
                    <TextBlock Foreground="Gray"  FontSize="40" LineHeight="60" FontFamily="Calibri" FontWeight="Normal" Text="{Binding}" Loaded="TextBlock_Loaded_1"></TextBlock>
                <!--</StackPanel>
            </Grid>-->
        </DataTemplate>
    </phone:PhoneApplicationPage.Resources>
    <!--LayoutRoot is the root grid where all page content is placed-->
    <Grid x:Name="LayoutRoot" Background="{StaticResource bipivot}">
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="*"/>
        </Grid.RowDefinitions>
        <StackPanel Orientation="Horizontal" Grid.Row="0" Margin="0,0,0,0">
            <Image x:Name="imgLogo"  Style="{StaticResource PivotTitle}"  Margin="10,0,0,0"/>
            <TextBlock x:Name="tblkVideosTitle" Text="Share Web Tile Online" Foreground="Gray" Style="{StaticResource DetailPagePivotTitle}"/>
        </StackPanel>

        <StackPanel  x:Name="Sharestk" Orientation="Vertical" Grid.Row="1">
            <TextBlock  Text="Description:" Foreground="Gray" Margin="10,0,0,0" FontSize="28"></TextBlock>
            <TextBox x:Name="tbDes" Height="300" Foreground="Gray"  BorderBrush="Gray" ></TextBox>
            <TextBlock Text="*Other users will be able to see shared web tiles and also download to the device for use" TextWrapping="Wrap" FontSize="15" Foreground="Red" Margin="10,0,0,0"></TextBlock>
            <toolkit:ListPicker BorderBrush="Gray"  x:Name="CategoryList" Width="250" FullModeItemTemplate="{StaticResource tblkcat}"  FullModeHeader="Select Category">
                </toolkit:ListPicker>
                <TextBlock Height="40" Visibility="Collapsed" x:Name="CatVal"  HorizontalAlignment="Right" Text="*mandatory" FontSize="18" Foreground="Red"></TextBlock>
        </StackPanel>
        <TextBlock x:Name="ShareTB" Text="This web tile will be available in the online web tiles menu option once it is approved" Foreground="Gray" VerticalAlignment="Center" HorizontalAlignment="Center" Visibility="Collapsed" FontSize="25" TextWrapping="Wrap" Grid.Row="1"></TextBlock>
    </Grid>
    <phone:PhoneApplicationPage.ApplicationBar>
        <shell:ApplicationBar IsVisible="True" IsMenuEnabled="True">
            <shell:ApplicationBarIconButton x:Name="Sharebtn" IconUri="/Images/online.png" Text="Share" Click="Share_Click"/>
        </shell:ApplicationBar>
    </phone:PhoneApplicationPage.ApplicationBar>
</phone:PhoneApplicationPage>